package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.mapper.NtPaymentDerateOthersMapper;
import com.csun.cmny.provider.model.domain.NtPaymentDerateOthers;
import com.csun.cmny.provider.model.dto.DerateOthersDto;
import com.csun.cmny.provider.service.NtPaymentDerateOthersService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class NtPaymentDerateOthersServiceImpl extends BaseService<NtPaymentDerateOthers> implements NtPaymentDerateOthersService {
    @Resource
    private NtPaymentDerateOthersMapper ntPaymentDerateOthersMapper;

    @Override
    public DerateOthersDto queryAll(int oldmanId, int type) {
        return ntPaymentDerateOthersMapper.queryAll(oldmanId , type);
    }
}
